package com.sky.mapper;

import com.sky.entity.User;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * 功能简述:
 *
 * @author 86156
 * @date: 2024/09/08
 */
@Mapper
public interface UserMapper {

    @Select("Select * from user where openid = #{openId}")
    User selectByOpenid(String openId);

    void insert(User user);
}
